package com.luoyi.util.ovs.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.luoyi.util.ovs.annotation.DataIn;
import com.luoyi.util.ovs.annotation.DataOut;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 
 * 功能说明：指标维度规则定义 值对象类
 * @author  
 */
@Data
@SuppressWarnings("serial")
@ApiModel(value="指标维度规则定义", description="指标维度规则定义")
@JsonIgnoreProperties(ignoreUnknown = true)
public class IndexDimensionRuleVo implements Serializable {
	
    @ApiModelProperty(name="id", value="主键id")
    private String id;

	@DataOut(columnName = "code")
    @ApiModelProperty(name="code", value="编码")
    private String code;

	@DataIn(columnName = "name", sn = 1)
	@DataOut(columnName = "name")
    @ApiModelProperty(name="name", value="名称")
    private String name;

    @ApiModelProperty(name="rule", value="指标规则")
    private String rule;

	@DataIn(columnName = "dimensionCode", sn = 2)
	@DataOut(columnName = "dimensionCode")
	@ApiModelProperty(name="dimensionCode", value="指标维度")
	private String dimensionCode;

	@DataOut(columnName = "dimensionName")
	@ApiModelProperty(name="dimensionName", value="指标维度名称")
	private String dimensionName;

    @ApiModelProperty(name="sn", value="序号")
    private Integer sn;
	@DataOut(columnName = "status", dataCode = "YesOrNo")
    @ApiModelProperty(name="status", value="状态")
    private String status;
	@ApiModelProperty(name="ruleId", value="执行规则ID")
	private String ruleId;

	@DataOut(columnName = "used", dataCode = "used_status")
	@ApiModelProperty(name="used", value="是否已使用;值Y,N")
	private String used;
}